package com.lp.bo;

import org.codehaus.jackson.map.annotate.JsonSerialize;

import com.lp.annotation.Code;
import com.lp.bean.IotHistorySensorData;
import com.lp.common.Constants;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * @类:IotHistorySensorData
 * @作者:chenrj
 */

@Data
@NoArgsConstructor
@JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
@EqualsAndHashCode(callSuper = false)
public class IotHistorySensorDataBO extends IotHistorySensorData {

	/**传感器单位*/
   @Code(type=Constants.CodeType.DICTIONARY_VALUE)
   private Integer measure_unit_type;
	
	public IotHistorySensorDataBO(Integer id) {
		super();
		this.setId(id);
	}
	
	@Code
	private Integer iot_sensor_type ;
	
	private String atimestr;
	
	// 查询间隔时间
	private Integer query_interval_type ;
	
	private String interval_p1 ;
	private String interval_p2 ;
	private Integer interval_p3 ;
	
	
	private Integer scene_id ;
	
	private Integer node_id ;
	
	private String ids ;
	
	private String sensor_device_id ;
	
	private Integer port_id ;

}
